package com.bzg.manager.exception;

/**
 * Description:具体异常定义工具类
 *
 * @author gmy
 * @date 2017年3月3日 下午2:35:34
 */
public class BaseExceptionTool {
	
	public static final BaseException TOKEN_FAIL = new BaseException("1001", "Token失效！"); 
	
	public static final BaseException PARAM_IS_NULL = new BaseException("1002", "必要参数不能为空！");
	
	public static final BaseException LOGIN_FAIL = new BaseException("1004", "登录失败，用户名或密码错误！");
	
	public static final BaseException CHANGE_PWD_FAIL = new BaseException("1005", "修改密码失败！");
	
	public static final BaseException UPLOAD_IMG_FAIL = new BaseException("1006", "上传图片失败！");
	
	public static final BaseException LENGTH_TOO_LONG = new BaseException("1007", "内容过长！");
	
	public static final BaseException DB_ERROR = new BaseException("1009", "数据库访问失败！");
	
	public static final BaseException ERROR = new BaseException("1100", "未知异常！");
	
	public static final BaseException EASYMOB_ERROR = new BaseException("1100", "请求环信出错！");
	
	public static final BaseException NO_REGISTRATION = new BaseException("1011", "无用户需要注册环信！");
	
}
